package is.ru.honn.rumblr.domain;

import java.util.ArrayList;
import java.util.List;

public class RumblrLog
{
  private String name;
  private String title;
  private List<RumblrPost> posts = new ArrayList<RumblrPost>();

  public RumblrLog()
  {

  }

  public String getName()
  {
    return name;
  }

  public void setName(String name)
  {
    this.name = name;
  }


  public String getTitle()
  {
    return title;
  }

  public void setTitle(String title)
  {
    this.title = title;
  }

  public void addPost(RumblrPost post)
  {
    posts.add(post);
  }

  public List<RumblrPost>getPosts()
  {
    return posts;
  }
}
